//#include "DebugNew.h"
#include "String.h"

namespace Lyt
{
	ostream& operator<<(ostream& Output,const String& Object)
	{
		Output<<Object.GetBuffer();
		return Output; 
	}

	istream& operator>>(istream& Input,String& Object)
	{
		char Buffer[1000];
		Input>>Buffer;
		Object=Buffer;
		return Input;
	}
	
	wostream& operator<<(wostream& Output, const WString& Object)
	{
		Output<<Object.GetBuffer();
		return Output;
	}
	
	wistream& operator>>(wistream& Input, WString& Object)
	{
		wchar_t Buffer[1000];
		Input>>Buffer;
		Object=Buffer;
		return Input;
	}
}